﻿@model CategoryModel
@{
    //page title
    ViewBag.Title = T("Admin.Catalog.Categories.AddNew").Text;
}
@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "category-form" }))
{
    <div class="section-header">
        <div class="title">
            @T("Admin.Catalog.Categories.AddNew") 
			<a href='@Url.Action("Index")'>(@T("Admin.Catalog.Categories.BackToList"))</a>			
        </div>
        <div class="options">
            <button type="submit" name="save" value="save" class="btn btn-primary">
				<i class="fa fa-check"></i>
				<span>@T("Admin.Common.Save")</span>
			</button>
            <button type="submit" name="save" value="save-continue" class="btn btn-secondary">
				<span>@T("Admin.Common.SaveContinue")</span>
			</button>
        </div>
    </div>

    Html.RenderPartial("_CreateOrUpdate", Model);
}